@extends('default.mobile.layouts.personalPublic')
@section('title','修改密码-'.Site::get('webname'))
{{--首页css--}}
@section('headcss')
    @parent
    <link rel="stylesheet" href="{{asset('/default/css/mobile/personal/common.css')}}">
@endsection
{{--头部标签--}}
@section('tag','修改密码')
@section('link') href="{{url('mobile/personal/set_account')}}" @endsection

{{--主体内容--}}
@section('content')
    <div class="fill">
        <div class="form_info">
            <form action="{{url("mobile/personal/post_mod_password")}}" onsubmit="return checkPass('#modPasswordForm')" method="post"
                  name="modPasswordForm" id="modPasswordForm">
                {{csrf_field()}}
                <input name="uid" value="{{$uid}}" id="uid" type="hidden">
                <dl>
                    <dt>旧密码</dt>
                    <dd><input type="password" name="oldpassword" id="oldpassword" value="" placeholder="请输入旧密码"></dd>
                </dl>
                <dl>
                    <dt>新密码</dt>
                    <dd><input type="password" name="password" id="password"  value="" placeholder="请输入新密码"></dd>
                </dl>
                <dl>
                    <dt>确认密码</dt>
                    <dd><input type="password" name="password_confirmation" id="password_confirmation"  value="" placeholder="请输入确认密码"></dd>
                </dl>
                <div class="form_sub"><input type="submit" value="保存"></div>
            </form>
        </div>
    </div>
@endsection

@section('footerjs')
    @parent
    <script type="text/javascript" src="{{asset('/default/js/mobile/personal/mod_password.js')}}"></script>
    <script>
        var _token = "{{csrf_token()}}";
    </script>
@endsection